<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>[%$form.formgroupname%] - [%$lngpack.sitename%]</title>
<meta name="keywords" content="[%$lngpack.keyword%]" />
<meta name="description" content="[%$lngpack.description%]" />
<link href="[%$url%]templates/default/style/all.css" rel="stylesheet" type="text/css" />
<link href="[%$url%]templates/default/style/news.css" rel="stylesheet" type="text/css" />
<link href="[%$url%]templates/default/style/public.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="[%$url%]js/jquery.js"></script>
<script type="text/javascript" src="[%$url%]js/basicrun.js"></script>
</head>

<body>
<div class="container_out">
[%include file="default/cn/public/head.html"%]
<!--main body-->
<div class="container_inner">
	<div class="lineheight"></div>
	<div class="pageadd">Home >> <b>>[%$form.formgroupname%]</b></div>
	<div class="lineheight"></div>
	<div class="pageleft row">
		<div class="pagelft_tab02">BBS</div>
		<div class="pagelft_tab01">[%beark name=bbstypelist class=$lng,0%]</div>
		<div class="lineheight"></div>
		<div class="small_bann"></div>
	</div>
	<div class="content_right row">
		<div class="read_textoutline2">
			<div id="title"><span id="name">[%$form.content%]</span></div>
			<div id="line"></div>
			<form name="[%$form.formcode%]" id="[%$form.formcode%]" method="post" action="[%$form.action%]">
			<input type="hidden" name="linkurl" value="add">
			<input type="hidden" name="fgid" id="fgid" value="[%$form.fgid%]">
			<input type="hidden" name="formcode" id="formcode" value="[%$form.formcode%]">
			<input type="hidden" name="countattrs" id="countattrs" value="[%$form.countattrs%]">
			<input type="hidden" name="isseccode" id="isseccode" value="[%$form.isseccode%]">
			<div id="content">
				<table style="width: 100%" class="table_style">
					[%forlist from=$attr key=i%]
					[%if $attr[i].isline==1%]
					<tr>
						<th colspan="2" align="left" style="background-color: #F0F0F0">[%$attr[i].typename%]</th>
					</tr>
					[%else%]
					<tr>
						<th>[%$attr[i].typename%]</th>
						<td>
						[%if $attr[i].inputtype=='string'%]<input type="text"[%if $attr[i].isvalidate==1%] onblur="if (this.value.match(/^[%$attr[i].validatetext%]$/ig)==null){alert('[%$attr[i].typename%][%$lngpack.inputerr%]');return false;}" [%/if%]name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" maxlength="[%$attr[i].attrlenther%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>[%/if%]
						[%if $attr[i].inputtype=='int'%]<input type="text" [%if $attr[i].isvalidate==1%] onblur="if (this.value.match(/^[%$attr[i].validatetext%]$/ig)==null){alert('[%$attr[i].typename%][%$lngpack.inputerr%]');return false;}" [%/if%]name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" maxlength="[%$attr[i].attrlenther%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>[%/if%]
						[%if $attr[i].inputtype=='datetime'%]
							<input type="text" name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>
						[%/if%]
						[%if $attr[i].inputtype=='img'%]
							<input type="text" name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>
						[%/if%]
						[%if $attr[i].inputtype=='addon'%]
							<input type="text" name="formatt[[%$attr[i].attrname%]]" size="[%$attr[i].attrsize%]" value="[%$attr[i].attrvalue%]" class="infoInput"/>
						[%/if%]
						[%if $attr[i].inputtype=='text'%]<textarea name="formatt[[%$attr[i].attrname%]]" cols="[%$attr[i].attrsize%]" rows="[%$attr[i].attrrow%]" class="infoInput">[%$attr[i].attrvalue%]</textarea>[%/if%]
						[%if $attr[i].inputtype=='select'%]
							<select size="1" name="formatt[[%$attr[i].attrname%]]">
							[%forlist from=$attr[i].attrvalue key=ii%]
								<option [%if $attr[i].attrvalue[ii].selected=='selected'%]selected="selected" [%/if%]value="[%$attr[i].attrvalue[ii].name%]">[%$attr[i].attrvalue[ii].name%]</option>
							[%/forlist%]
							</select>
						[%/if%]
						[%if $attr[i].inputtype=='radio'%]
							[%forlist from=$attr[i].attrvalue key=ii%]
							<input [%if $attr[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="formatt[[%$attr[i].attrname%]]" type="radio" value="[%$attr[i].attrvalue[ii].name%]" /> [%$attr[i].attrvalue[ii].name%]
							[%/forlist%]
						[%/if%]
						[%if $attr[i].inputtype=='checkbox'%]
							[%forlist from=$attr[i].attrvalue key=ii%]
								<input [%if $attr[i].attrvalue[ii].selected=='selected'%]checked="checked" [%/if%]name="formatt[[%$attr[i].attrname%]]" type="checkbox" value="[%$attr[i].attrvalue[ii].name%]" /> [%$attr[i].attrvalue[ii].name%]
							[%/forlist%]
						[%/if%]
						[%if $attr[i].typeremark!=''%]<span class="cautiontitle">[%$attr[i].typeremark%]</span>[%/if%]
						</td>
					</tr>
					[%/if%]
					[%/forlist%]
					[%if $form.isseccode==1%]
					<tr>
						<th>[%$lngpack.verification%]</th>
						<td>
							<input type="text" id="code" name="seccode" maxlength="4" size="3" style="text-transform: uppercase;"/>
							<img title="[%$lngpack.verification%]" id="[%$form.formcode%]seccodesrc" onclick="sessionimg('[%$form.formcode%]seccodesrc','[%$url%]')" src="[%$seccodelink%]" style="cursor: pointer;" align="absmiddle"/>
						</td>
					</tr>
					[%/if%]
					<tr>
						<td colspan="2" align="center"><input type="submit" id="[%$form.formcode%]botton" name="Submit" value="[%$lngpack.submitbotton%]" class="inputsubmit01" /></td>
					</tr>
				</table>
			</div>
			</form>
		</div>
		<div class="lineheight"></div>
	</div>
</div>
[%include file="default/cn/public/fotter.html"%]
</div>
</body>

</html>
